Skip to content

Get balance#29

Open
ivpusic wants to merge 1 commit intosim/evm-balancesfrom
sim/evm-balance
Open

Get balance#29
ivpusic wants to merge 1 commit intosim/evm-balancesfrom
sim/evm-balance

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Mar 11, 2026

Add dune sim evm balance <wallet_address> for querying a single token balance with required --token and --chain-ids flags. Outputs key-value text or JSON. Includes E2E tests with required flag validation.

This was referenced Mar 11, 2026
@cursor
Copy link

cursor bot commented Mar 12, 2026

PR Summary

Low Risk
Low risk: adds a new CLI subcommand and E2E tests without changing existing query behavior; main risk is limited to correctness of the new API path/flag validation.

Overview
Adds a new sim evm balance <wallet_address> subcommand to fetch a single-token balance via /v1/evm/balances/{address}/token/{token} with required --token and --chain-ids flags, supporting both key-value text output and raw JSON output.

Registers the command under sim evm and introduces E2E tests covering text/JSON modes and required-flag validation.

Written by Cursor Bugbot for commit 3101ca3. Configure here.

@ivpusic ivpusic force-pushed the sim/evm-balance branch 2 times, most recently from af2805d to b21c241 Compare March 12, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants